<%@page contentType="text/html" pageEncoding="UTF-8" session="false"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!doctype html>
<html lang="nl">
<head>
<link rel="stylesheet" href="${pageContext.servletContext.contextPath}/styles/default.css" />
<title>Aanmelden</title>
</head>
<body>
<h1>Aanmelden</h1>
<form method='post' action='<c:url value="/j_spring_security_check"/>'>
<label for="j_username">Gebruikersnaam:</label>
<input name="j_username" id="j_username"/>
<label for="j_password">Paswoord:</label>
<input type="password" name="j_password" id="j_password"/>
<div class="rij">
<input type="checkbox" name="_spring_security_remember_me" id="j__remember_me"/>
<label for="j__remember_me">Onthoud me op deze computer</label></div>
<input type="submit" value="Aanmelden"/>
<c:if test="${param.error}">
<div class="fout">Verkeerde gebruikersnaam of paswoord.</div>
</c:if>
</form>
</body>
</html>